<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>学生档案与资助平台</title>
<link href="${pageContext.request.contextPath}/asserts/bootstrap-3.3.7-dist/css/bootstrap.css" title=""
	rel="stylesheet" />
<link title="" href="${pageContext.request.contextPath}/css/style.css" rel="stylesheet" type="text/css" />
<link title="blue" href="${pageContext.request.contextPath}/css/dermadefault.css" rel="stylesheet"
	type="text/css" />
<link title="green" href="${pageContext.request.contextPath}/css/dermagreen.css" rel="stylesheet"
	type="text/css" disabled="disabled" />
<link title="orange" href="${pageContext.request.contextPath}/css/dermaorange.css" rel="stylesheet"
	type="text/css" disabled="disabled" />
<!--<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
-->
<script src="${pageContext.request.contextPath}/js/jquery-3.2.1.min.js"></script>

<script src="${pageContext.request.contextPath}/js/jquery.cookie.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/asserts/bootstrap-3.3.7-dist/js/bootstrap.min.js"
	type="text/javascript"></script>
</head>
<style>
	
	.navContent{
		/*background-color: grey;*/
	}
	
	.footer {
            position: fixed;
            left: 0px;
            bottom: 0px;
            width: 100%;
            height: 30px;
            background-color: #eee;
            z-index: 9999;
            text-align:center;
            line-height:30px;
            font-size:12px;
            
 }
	
 
</style>
<body>
	<nav class="nav navbar-default navbar-mystyle navbar-fixed-top">
		<div class="navbar-header">
			<button class="navbar-toggle" data-toggle="collapse"
				data-target=".navbar-collapse">
				<span class="icon-bar"></span> <span class="icon-bar"></span> <span
					class="icon-bar"></span>
			</button>
			<a class="navbar-brand mystyle-brand" href="admin_index.jsp"><span
				class="glyphicon glyphicon-home"></span></a>
		</div>
		<div class="collapse navbar-collapse">
			<ul class="nav navbar-nav">
				<li class="li-border"><a class="mystyle-color navbar-brand" href="admin_index.jsp">学生档案与资助平台</a>
				</li>
			 </ul>

			<ul class="nav navbar-nav pull-right">
				<li class="li-border"><a href="#" class="mystyle-color"> <span
						class="glyphicon glyphicon-bell"></span> <span class="topbar-num">0</span>
				</a></li>
				<li class="li-border dropdown"><a href="#"
					class="mystyle-color" data-toggle="dropdown"> <span
						class="glyphicon glyphicon-search"></span> 搜索
				</a>
					<div class="dropdown-menu search-dropdown">
						<div class="input-group">
							<input type="text" class="form-control"> <span
								class="input-group-btn">
								<button type="button" class="btn btn-default">搜索</button>
							</span> 
						</div>
					</div></li>   
				 
				<li class="dropdown li-border"><a href="#"
					class="dropdown-toggle mystyle-color" data-toggle="dropdown">
					      <span id="userInfo">${user.userlevel},${user.usercode}</span> 
						<span class="caret"></span>
				</a>
					<ul class="dropdown-menu">
						<li><a href="user/logout">退出</a></li>
					</ul></li>
				<li class="dropdown"><a href="#"
					class="dropdown-toggle mystyle-color" data-toggle="dropdown">换肤<span
						class="caret"></span></a>
					<ul class="dropdown-menu changecolor">
						<li id="blue"><a href="#">蓝色</a></li>
						<li class="divider"></li>
						<li id="green"><a href="#">绿色</a></li>
						<li class="divider"></li>
						<li id="orange"><a href="#">橙色</a></li>
					</ul></li>
			</ul>
		</div>
	</nav>
	<div class="down-main">
		<div class="left-main left-full">
			<div class="sidebar-fold">
				<span class="glyphicon glyphicon-menu-hamburger"></span>
			</div>
			<div class="subNavBox">
			  <!--  说明是 管理员或 县级别账户，这里为了操作简便，让其他用户看不见菜单 -->
			  <c:if test="${user.roleid==3 or user.roleid==4 }">
				<div class="sBox">
					<div class="subNav sublist-up">
						<span class="title-icon glyphicon glyphicon-chevron-down"></span><span
							class="sublist-title">学校信息</span>
					</div>
					<ul class="navContent" style="display: none">
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />学校基本信息
							</div> <a href="school/list" target="content"><span
								class="sublist-icon glyphicon glyphicon-user"></span><span
								class="sub-title">学校基本信息</span></a>
						</li>
						<!-- <li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />分管领导信息
							</div> <a href="leader/list?n=1" target="content"><span
								class="sublist-icon glyphicon glyphicon-user"></span><span
								class="sub-title">分管领导信息</span></a>
						</li>
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />资助管理人员
							</div> <a href="subsidize/list?n=1" target="content"><span
								class="sublist-icon glyphicon glyphicon-user"></span><span
								class="sub-title">资助管理人员</span></a>
						</li>
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />领导小组
							</div> <a href="leadergroup.html" target="content"><span
								class="sublist-icon glyphicon glyphicon-user"></span><span
								class="sub-title">领导小组</span></a>
						</li>
						 <li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />评审小组
							</div> <a href="assessgroup.html" target="content"><span
								class="sublist-icon glyphicon glyphicon-user"></span><span
								class="sub-title">评审小组</span></a>
						</li> -->
						 
					</ul>
				</div>
				</c:if>
				
				<div class="sBox">
					<div class="subNav sublist-up">
						<span class="title-icon glyphicon glyphicon-chevron-up"></span><span
							class="sublist-title">学生管理</span>
					</div>
					<ul class="navContent" style="display: none">
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />在校学生
							</div> <a href="student/list" target="content"><span
								class="sublist-icon glyphicon glyphicon-list"></span><span
								class="sub-title">在校学生</span></a>
						</li>
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />负面清单学生
							</div> <a href="negativestudent/list" target="content"><span
								class="sublist-icon glyphicon glyphicon-list"></span><span
								class="sub-title">负面清单学生</span></a>
						</li>
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />部门比对学生
							</div> <a href="departlist/list" target="content"><span
								class="sublist-icon glyphicon glyphicon-list"></span><span
								class="sub-title">部门比对学生</span></a>
						</li>
						 
					</ul>
				</div>
				<div class="sBox">
					<div class="subNav sublist-up">
						<span class="title-icon glyphicon glyphicon-chevron-up"></span><span
							class="sublist-title">受理申请</span>
					</div>
					<ul class="navContent" style="display: none">
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />国家资助
							</div> <a href="countrysub/list" target="content"><span
								class="sublist-icon glyphicon glyphicon-user"></span><span
								class="sub-title">国家资助</span></a>
						</li>
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />地方政府资助
							</div> <a href="govsub/list" target="content"><span
								class="sublist-icon glyphicon glyphicon-user"></span><span
								class="sub-title">地方政府资助</span></a>
						</li>
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />学校资助
							</div> <a href="schoolsub/list" target="content"><span
								class="sublist-icon glyphicon glyphicon-user"></span><span
								class="sub-title">学校资助</span></a>
						</li>
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />社会资助
							</div> <a href="societysub/list" target="content"><span
								class="sublist-icon glyphicon glyphicon-user"></span><span
								class="sub-title">社会资助</span></a>
						</li>
						
						
					</ul>
				</div>
				<div class="sBox">
					<div class="subNav sublist-up">
						<span class="title-icon glyphicon glyphicon-chevron-up"></span><span
							class="sublist-title">过程管理</span>
					</div>
					<ul class="navContent" style="display: none">
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />文件图片上传
							</div> <a href="process/list" target="content"><span
								class="sublist-icon glyphicon glyphicon-upload"></span><span
								class="sub-title">文件图片上传</span></a>
						</li>
							<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />现场图片上传
							</div> <a href="spot/list" target="content"><span
								class="sublist-icon glyphicon glyphicon-upload"></span><span
								class="sub-title">现场图片上传</span></a>
						</li>
						
						 
					</ul>
				</div>
				
				<div class="sBox">
					<div class="subNav sublist-up">
						<span class="title-icon glyphicon glyphicon-chevron-up"></span><span
							class="sublist-title">数据管理</span>
					</div>
					<ul class="navContent" style="display: none">
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />国家资助上报
							</div> <a href="${pageContext.request.contextPath}/dataup/listcountrysub" target="content"><span
								class="sublist-icon glyphicon glyphicon-upload"></span><span
								class="sub-title">国家资助上报</span></a>
						</li>
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />地方政府上报
							</div> <a href="${pageContext.request.contextPath}/dataup/listgovsub" target="content"><span
								class="sublist-icon glyphicon glyphicon-upload"></span><span
								class="sub-title">地方政府上报</span></a>
						</li>
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />学校资助上报
							</div> <a href="${pageContext.request.contextPath}/dataup/listschoolsub" target="content"><span
								class="sublist-icon glyphicon glyphicon-upload"></span><span
								class="sub-title">学校资助上报</span></a>
						</li> 
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />社会资助上报
							</div> <a href="${pageContext.request.contextPath}/dataup/listsocietysub" target="content"><span
								class="sublist-icon glyphicon glyphicon-upload"></span><span
								class="sub-title">社会资助上报</span></a>
						</li>
						<!-- <li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />数据导出
							</div> <a href="templateDown.jsp" target="content"><span
								class="sublist-icon glyphicon glyphicon-upload"></span><span
								class="sub-title">数据导出</span></a>
						</li> -->
						 
					</ul>
				</div>
				
				
				
			<!-- 	<div class="sBox">
					<div class="subNav sublist-up">
						<span class="title-icon glyphicon glyphicon-chevron-up"></span><span
							class="sublist-title">育人管理</span>
					</div>
					<ul class="navContent" style="display: none">
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />育人管理
							</div> <a href="edumanage/list?n=1" target="content"><span
								class="sublist-icon glyphicon glyphicon-list"></span><span
								class="sub-title">育人管理</span></a>
						</li>
					</ul>
				</div> -->
				<!-- <div class="sBox">
					<div class="subNav sublist-up">
						<span class="title-icon glyphicon glyphicon-chevron-up"></span><span
							class="sublist-title">外宣情况</span>
					</div>
					<ul class="navContent" style="display: none">
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />对外宣传情况
							</div> <a href="outerInfo.html" target="content"><span
								class="sublist-icon glyphicon glyphicon-adjust"></span><span
								class="sub-title">对外宣传情况</span></a>
						</li>
						 
					</ul>
				</div> -->
				<div class="sBox">
					<div class="subNav sublist-up">
						<span class="title-icon glyphicon glyphicon-chevron-up"></span><span
							class="sublist-title">归档查询</span>
					</div>
					<ul class="navContent" style="display: none">
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />国家资助档案
							</div> <a href="datatotal/listcountrysub" target="content"><span
								class="sublist-icon glyphicon glyphicon-adjust"></span><span
								class="sub-title">国家资助档案</span></a>
						</li>
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />地方政府档案
							</div> <a href="datatotal/listgovsub" target="content"><span
								class="sublist-icon glyphicon glyphicon-adjust"></span><span
								class="sub-title">地方政府档案</span></a>
						</li>
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />学校资助档案
							</div> <a href="datatotal/listschoolsub" target="content"><span
								class="sublist-icon glyphicon glyphicon-adjust"></span><span
								class="sub-title">学校资助档案</span></a>
						</li>
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />社会资助档案
							</div> <a href="datatotal/listsocietysub" target="content"><span
								class="sublist-icon glyphicon glyphicon-adjust"></span><span
								class="sub-title">社会资助档案</span></a>
						</li>
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />文件图片档案
							</div> <a href="datatotal/listprocess" target="content"><span
								class="sublist-icon glyphicon glyphicon-adjust"></span><span
								class="sub-title">文件图片档案</span></a>
						</li>
						<li>
							<div class="showtitle" style="width: 100px;">
								<img src="img/leftimg.png" />现场图片档案
							</div> <a href="datatotal/listspot" target="content"><span
								class="sublist-icon glyphicon glyphicon-adjust"></span><span
								class="sub-title">现场图片档案</span></a>
						</li>
				 
					</ul>
				</div>
				 
		  
					<div class="sBox">
						<div class="subNav sublist-up">
							<span class="title-icon glyphicon glyphicon-chevron-up"></span><span
								class="sublist-title">账户管理</span>
						</div>
						<ul class="navContent" style="display: none">
							<c:if test="${user.roleid==3 or user.roleid==4}">  
							<li>
								<div class="showtitle" style="width: 100px;">
									<img src="img/leftimg.png" />基础数据维护
								</div> <a href="ztree2.jsp" target="content"><span
									class="sublist-icon glyphicon glyphicon-upload"></span><span
									class="sub-title">基础数据维护</span></a>
							</li>
							<li>
								<div class="showtitle" style="width: 100px;">
									<img src="img/leftimg.png" />用户管理
								</div> <a href="user/list" target="content"><span
									class="sublist-icon glyphicon glyphicon-upload"></span><span
									class="sub-title">用户管理</span></a>
							</li>
							<li>
								<div class="showtitle" style="width: 100px;">
									<img src="img/leftimg.png" />权限管理
								</div> <a href="authority/list" target="content"><span
									class="sublist-icon glyphicon glyphicon-upload"></span><span
									class="sub-title">权限管理</span></a>
							</li>
							</c:if> 
							<li>
								<div class="showtitle" style="width: 100px;">
									<img src="img/leftimg.png" />密码修改
								</div> <a href="user/toUpdatePwd" target="content"><span
									class="sublist-icon glyphicon glyphicon-upload"></span><span
									class="sub-title">密码修改</span></a>
							</li>
						</ul>
					</div>
			 
					
					<c:if test="${user.roleid==3 or user.roleid==4}">  
					<div class="sBox">
						<div class="subNav sublist-up">
							<span class="title-icon glyphicon glyphicon-chevron-up"></span><span
								class="sublist-title">公文管理</span>
						</div>
						<ul class="navContent" style="display: none">
							
							 
							<li>
								<div class="showtitle" style="width: 100px;">
									<img src="img/leftimg.png" />通知公告
								</div> <a href="notice/list" target="content"><span
									class="sublist-icon glyphicon glyphicon-upload"></span><span
									class="sub-title">通知公告</span></a>
							</li>
							 <li>
								<div class="showtitle" style="width: 100px;">
									<img src="img/leftimg.png" />政策文件
								</div> <a href="policy/list" target="content"><span
									class="sublist-icon glyphicon glyphicon-upload"></span><span
									class="sub-title">政策文件</span></a>
							</li>
							
					 
						</ul>
					</div>
			 	</c:if> 
			</div>
		</div>
		<div class="right-product right-full">
			<div id="content" class="col-md-12" style="height: 700px;">
				<iframe id="myIframe" frameborder="no" border="0" marginwidth="0"
					marginheight="0" allowtransparency="yes" name="content"
					style="overflow-y:auto;min-height: 900px" width="100%" src="welcome.jsp">
				</iframe>
			</div>
		</div>
	</div>
<div class="footer">©2019-2020 gaxszz.cn 版权所有 鄂ICP备19028529号-1</div>
	<!-- ajax发送获取json信息 -->
	<script type="">
		
		</script>

	<script type="text/javascript">
		$(function() {
			//获取用户信息  getUser
		/* 	$.ajax({
				type:"get",
				url:"user/getUser",
				dataType:"JSON",
				success:function(data){
				 //alert(data);
					$("#userInfo").html(data.userlevel+","+data.usercode);
				}
			}); */
			
		 
		 $(".navContent li").click(function(){
				 $(".navContent li").each(function(dom){
				 	$(this).removeClass("active");
				 });
				$(this).addClass("active");
			});
			
			
			$("#myIframe").on("load", function() {
				//获取当前
				var height = this.contentWindow.document.body.scrollHeight;
			 //   alert(height);
				// 将窗体的高度 给iframe的 
				$('#content').height(height+100);
			  	$(this).height(height+100);  
			});

			/*换肤*/
			$(".dropdown .changecolor li").click(function() {
				var style = $(this).attr("id");
				$("link[title!='']").attr("disabled", "disabled");
				$("link[title='" + style + "']").removeAttr("disabled");

				$.cookie('mystyle', style, {
					expires : 7
				}); // 存储一个带7天期限的 cookie 
			})
			var cookie_style = $.cookie("mystyle");
			if (cookie_style != null) {
				$("link[title!='']").attr("disabled", "disabled");
				$("link[title='" + cookie_style + "']").removeAttr("disabled");
			}

			/*左侧导航栏显示隐藏功能*/
			$(".subNav")
					.click(
							function() {
								 //隐藏所有的其他菜单
								$(".navContent").hide();
								/*显示*/
								if ($(this).find("span:first-child").attr(
										'class') == "title-icon glyphicon glyphicon-chevron-down") {
									$(this).find("span:first-child")
											.removeClass(
													"glyphicon-chevron-down");
									$(this).find("span:first-child").addClass(
											"glyphicon-chevron-up");
									$(this).removeClass("sublist-down");
									$(this).addClass("sublist-up");
								}
							//遍历所有的  <ul class="navContent"
						 
										
								/*隐藏  所有的打开 菜单 */
								/*else {
									$(this)
											.find("span:first-child")
											.removeClass("glyphicon-chevron-up");
									$(this).find("span:first-child").addClass(
											"glyphicon-chevron-down");
									$(this).removeClass("sublist-up");
									$(this).addClass("sublist-down");
								}*/
								
								
								// 修改数字控制速度， slideUp(500)控制卷起速度
								$(this).next(".navContent").slideToggle(300)
										.siblings(".navContent").slideUp(300);
							})
			/*左侧导航栏缩进功能*/
			$(".left-main .sidebar-fold")
					.click(
							function() {
								if ($(this).parent().attr('class') == "left-main left-full") {
									$(this).parent().removeClass("left-full");
									$(this).parent().addClass("left-off");

									$(this).parent().parent().find(
											".right-product").removeClass(
											"right-full");
									$(this).parent().parent().find(
											".right-product").addClass(
											"right-off");

								} else {
									$(this).parent().removeClass("left-off");
									$(this).parent().addClass("left-full");

									$(this).parent().parent().find(
											".right-product").removeClass(
											"right-off");
									$(this).parent().parent().find(
											".right-product").addClass(
											"right-full");

								}
							})

			/*左侧鼠标移入提示功能*/
			/*$(".sBox ul li").mouseenter(function() {
				if ($(this).find("span:last-child").css("display") == "none") {
					$(this).find("div").show();
				}
			}).mouseleave(function() {
				$(this).find("div").hide();
			})*/
					 
			
		});
	</script>
</body>

</html>